

<% form_remote_tag(:url => {:controller=>:comment, :action => "add"}) do%>
	<ul>
		<li><span class="title1">评论内容</span> <a href="/user/reg" class="inline">注册新用户</a></li>
		<li><%= text_area_tag "comment[content]",nil,:class=>'textarea content_area',:rows=>6 %></li>
		<li>
			<%= submit_tag "提交",:class=>"submit" %>
			<input type="hidden" name="comment[parent_id]" value="<%=@comment.parent_id%>" />
			<input type="hidden" name="comment[comment_type]" value="<%=@comment.comment_type%>" />
		</li>
	</ul>
<% end %>